Input Element
An HTML DOM input element.
Provides access to the attributes of the input element.
Properties
Returns HTML attributes of this element.
HTML element for the form that contains this control, if any.
Returns the next node in the document tree, if any.
Returns the previous node in the document tree, if any.
A string that represents the value associated with the form control.
Returns XPathExpression that represents path to this Node, or an empty expression if it is not available.
Functions
listener
to the event target.node
as a child of the current node to the end of its children list.expression
for the node and returns the XPathResult
of the ANY type.expression
for the node and returns the XPathResult
object of the given type
.Evaluates the given expression for the node and returns XPathResult of the XPathResultType.ANY type.
Evaluates the given expression for the node and returns XPathResult of the given type.
Returns the first Element found in the current search context by the given cssSelector, if any.
className
.cssSelector
.id
.name
.tagName
.className
.cssSelector
.id
.name
.tagName
.Optional
that contains the HTML element for the form that contains this element, otherwise an empty Optional
.Returns the first Element found in the current search context by the given cssSelector.
node
before the given beforeNode
as a child of the current node.true
if the DOM element's type
attribute has the 'checkbox' value.true
if the DOM element's type
attribute has the 'email' value.true
if the input
DOM element has both the type
attribute with the 'file' value, and the multiple
attribute.true
if the DOM element's type
attribute has the 'password' value.true
if the DOM element's type
attribute has the 'radio' value.true
when isTextField returns true
and the type
attribute value of the input
HTML element is 'number'.true
if the DOM element's type
attribute has the 'text' value.Optional
that contains the next node in the document tree if such a node exists, otherwise returns an empty Optional
.Optional
that contains the previous node in the document tree if such a node exists, otherwise returns an empty Optional
.childNode
of the current node from the DOM.listener
from the event target.oldNode
of the current node with the given newNode
.textContent
.